package com.hpf.tool.entity;
/**
 * 
 * @author hpf
 *
 */
public abstract class BaseEntity implements IEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * <p>去除前后空格</p>
	 * 
	 * <pre>
	 * super.trim(null)			= ""
	 * super.trim("")			= ""
	 * super.trim("  ")			= ""
	 * super.trim(" test")		= "test"
	 * super.trim(" test ")		= "test"
	 * </pre>
	 * @param value
	 * @return
	 */
	protected final String trim(String value){
		return value == null?"":value.trim();
	}
}
